home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Examples / FileSearchTest / MainWinController.h < prev    next >
Encoding:
Text File  |  1995-04-12  |  1.5 KB  |  58 lines

  1. //        Written by Todd Thomas Copyright (c) 1994 by Todd Thomas.
  2. //                Version 1.0.  All rights reserved.
  3. //
  4. //        This notice may not be removed from this source code.
  5. //
  6. //    This object is included in the MiscKit by permission from the author
  7. //    and its use is governed by the MiscKit license, found in the file
  8. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  9. //    for a list of all applicable permissions and restrictions.
  10. //    
  11.  
  12.  
  13. #import <objc/Object.h>
  14.  
  15.  
  16. @interface MainWinController:Object
  17. {
  18.     id  infoPanel;                // outlet to the info panel
  19.     id    extensionTextfield;        // IB - extension to search for multiple files
  20.     id    dirToSearch;            // IB - the directory search will take place in 
  21.     id    fileToSearchFor;        // IB - used for single file searches
  22.     id    optionsMatrix;            // IB - recursive and/or follow symLinks
  23.     id    scrollView;                // IB - where matched filenames are shown
  24.     id    updator;                // IB - just displays whether a search is going
  25.     id  popup;                    // IB - the popup which manipulates swapview
  26.     id  swapView;                // IB - outlet to MiscSwapViewByPopup
  27.     id  timerField;                // IB - where the search time is shown
  28. //    id  fileSearch;                // object that will accomplish the search
  29. }
  30.  
  31. - init;
  32. - free;
  33. - beginSearch:sender;
  34. - setDirectoryToSearch:sender;
  35. - writeResults: result;
  36.  
  37. - showInfoPanel: sender;
  38.  
  39. @end
  40.  
  41.  
  42.  
  43. @interface MainWinController (Initialization)
  44.  
  45. - awakeFromNib;
  46.  
  47. @end
  48.  
  49.  
  50.  
  51. @interface MainWinController (MiscFileSearchingDelegate)
  52.  
  53. - (BOOL)addFile: (MiscFile *) theFile;
  54.  
  55. @end
  56.  
  57.  
  58.